package com.spring.sys.service;

import java.util.List;

import com.spring.sys.dto.SysDicDto;
import com.spring.sys.po.SysDic;

public interface ISysDicService {

	List<SysDicDto> findAllDictType();

	List<SysDic> findDictByParentCode(String code);
	
	void insert(SysDic sysDic);
	
	void update(SysDic sysDic);
	
	void delete(Long id);
	
	SysDic getSysDicByCode(SysDic sysDic);
	
	SysDic findByParentCodeAndCode(Long id, String parentCode,String code);
}
